package com.qfedu.service;


import com.qfedu.pojo.User;

import java.util.Date;
import java.util.List;

/**
 * @Author : ang
 * @Program: oasys
 * @Title : UserService
 * @Date : 2020-09-01 19:32
 **/
public interface UserService {
    User findByName(String loginname, String password);

    List<User> findAll(User user,int page, Integer limit);

    void deleteById(Integer id);

    void addUser(User user);

    User findById(Integer id);

    void updateById(Integer id,String password, Integer status);
}
